<?php
    include('checkAdminAccess.php');
    $iniVars = parse_ini_file('../../config.ini',TRUE);
    include('../classes/adodb5/adodb.inc.php');
    include('../function/db.func.php');
    
    if(isset($_POST['ps_id']))
    {
        $ps_id = $_POST['ps_id'];;
        $sql = "DELETE FROM pride_student WHERE ps_id=$ps_id";
        $result = $db->Execute($sql);
        if($result)
        {
            echo 'success';
        }
    }
?>